package com.bj58.groupbuy.action.service.impl;

import java.util.List;

import com.bj58.groupbuy.action.model.Dispcategory;
import com.bj58.groupbuy.action.service.DispcategoryService;
import com.bj58.groupbuy.service.impl.BaseService;

public class DispcategoryServiceImpl  extends BaseService<Dispcategory> implements DispcategoryService {

	@Override
	public List<Dispcategory> getALLNormal() throws Exception {
		List<Dispcategory> rsList = this.getGenericDao().find(Dispcategory.class, "*", "IsVisible=1&PID=0", "ListName");
		if(null != rsList && !rsList.isEmpty()){
			return rsList;
		}
		return null;
	}

}
